class grid 
{
 public:
  grid(int, int, int, int, int, int);
  ~grid() {}
  void setXsquares(int newval) { xsquares = newval; }
  void setYsquares(int newval) { ysquares = newval; }
  int getXsquares();
  int getYsquares();
  void setVlen(int newval) { vlen = newval; }
  void setHlen(int newval) { hlen = newval; }
  int getVlen();
  int getHlen();
  int draw();
  int grid_square_coord(int, int, char);
 private:
  int xsquares, ysquares;
  int vlen, hlen;
  int x, y;
};
